package com.zyit.service.impl;

import com.zyit.mapper.PrescriptiomMapper;
import com.zyit.service.PrescriptiomService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class PrescriptiomServiceImpl implements PrescriptiomService {
    @Resource
     private PrescriptiomMapper prescriptiomMapper;
    @Override
    public int updatePayStatus(Integer registryId, Integer patientId) {
        return prescriptiomMapper.updatePayStatus(registryId,patientId);
    }

    @Override
    public int updateIsFetchMedicine(Integer registryId, Integer patientId) {
        return prescriptiomMapper.updateIsFetchMedicine(registryId,patientId);
    }
}
